Skip to content

Add slide-over component and top-bar account menu - #18

Merged
jayjfletcher merged 2 commits into
mainfrom
feature/slide-over
Nov 9, 2026
Merged

jayjfletcher merged 2 commits into
mainfrom
feature/slide-over

Conversation

@jayjfletcher

Copy link
Copy Markdown
Member

Summary

  • slide-over component, with slide-over-link. A panel that slides in from the right over the page. It opens and closes from the URL's query string, so a table row can open its record in place and the link can be shared.
  • Account menu in the top bar. Shows the signed-in user's initials, name and email, plus Sign out, which posts to the app's logout route.
    • The route name is set by the new atrium.logout_route config (default logout).
    • The menu is hidden for guests, and when that route is null or not defined.
  • New account and sign_out translation strings, the README component list, and the CHANGELOG are updated.

Testing

composer test passes: phpstan, pint, type coverage, and 608 tests. New tests:

  • tests/Feature/UserMenuTest.php
  • slide-over cases in tests/Feature/ComponentLibraryTest.php

🤖 Generated with Claude Code

jayjfletcher and others added 2 commits November 9, 2026 15:11
- slide-over and slide-over-link components: a right-hand panel driven
  by the URL's query string, so a row opens its record in place and the
  link can be shared.
- Account menu in the top bar with the signed-in user and Sign out,
  posting to the app's logout route (atrium.logout_route). Hidden for
  guests and when the route is null or undefined.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Laravel 13.40's invoke-serialized-closure frames its JSON result in a
signed envelope (@@LARAVEL-CONCURRENCY-V1@@{base64}@@{hmac}@@) keyed by
LARAVEL_CONCURRENCY_HMAC_KEY. atrium:search-source decoded the raw
output as JSON, so every search source run in a child process reported
"wrote no readable result" and returned nothing.

The command now sets the key for the call and unwraps the envelope,
rejecting one whose signature does not match, and still reads the bare
JSON earlier framework versions write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jayjfletcher

jayjfletcher commented Nov 9, 2026 •

Copy link
Copy Markdown
Member Author

CI failed on prefer-stable because of a framework change, not this PR: main fails the same way with fresh dependencies.

Cause: Laravel 13.40 changed invoke-serialized-closure to wrap its JSON result in a signed envelope. atrium:search-source was still json_decode-ing the raw output, so every search source run in a child process came back empty. prefer-lowest installs an older framework, which is why it passed.

Fix: c0690a8. The command sets the signing key for the call and unwraps the envelope. It still accepts the bare JSON that older versions write.

Checked locally:

  • Laravel 13.40: full suite passes.
  • Laravel 13.39: composer test passes.

🤖 Generated with Claude Code

@jayjfletcher
jayjfletcher merged commit 59fdc6b into main Nov 9, 2026
5 checks passed
@jayjfletcher
jayjfletcher deleted the feature/slide-over branch November 11, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant